import axios from "@/utils/request"
import {Grade,Room,Subject,Add,Del,Update}  from '../type/grade'
export const _Grade=(params:Grade)=>axios.get("/api/manger/grade",{params});
export const _Room = (params:Room) =>axios.get('/api/manger/room',{params});
export const _subject = (params:Subject) => axios.get('/api/exam/subject',{params})
export const  _Add = (params:Add) =>axios.post('/api/manger/grade',params);
export const _del = (params:Del) =>axios.delete('/api/manger/grade/delete',{data:params})
export const _update = (params:Update) =>axios.put('/api/manger/grade/update',params)